/*
* Test driver for read_route()
*/
#include <stdio.h>
#include <stdlib.h>
#include "../Model/ssm.h"

int main(int argc, char *argv[]) 
{
	Route	route;

	if(argc!=4) 
	{
		fprintf(stderr,"ERROR Useage: %s <route_file_in> <plan_file_in>  <route_file_out>\n", argv[0]);
		return (-1);
	}
	
	if((read_route(argv[1],  argv[2],&route)==0) &&(write_route(argv[3], &route)==0))
	{	
		return (0);
	}
	return -1;
}
